/**
 * 
 */
package fr.ants.view.panel;

import java.awt.BorderLayout;

import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;

import fr.ants.view.HMI;

/**
 * @author Guillaume Ruscassie
 * 
 */
public class PathfindingPanel extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5544935384933664468L;
	/**
	 * title of the pathfinding.
	 */
	private final JLabel pathfindingLabel;
	/**
	 * combobox to select the pathfinding.
	 */
	private final JComboBox<String> pathFindingComboxBox;

	/**
	 * Build.
	 */
	public PathfindingPanel() {
		setLayout(new BorderLayout());

		pathfindingLabel = new JLabel(HMI.PATHFINDING);
		pathfindingLabel.setAlignmentX(LEFT_ALIGNMENT);
		add(pathfindingLabel, BorderLayout.NORTH);

		// pathfinding
		final String[] valuesCombo = { "A*", "Dijkstra" };
		pathFindingComboxBox = new JComboBox<String>(valuesCombo);
		add(pathFindingComboxBox, BorderLayout.CENTER);
	}
}
